import React, { Fragment } from "react";
import { Layout } from "antd";
import Icon from '@cbd/icon';

import GlobalFooter from "./GlobalFooter";

const { Footer } = Layout;
const FooterView = () => (
  <Footer style={{ padding: 0 }}>
    <GlobalFooter
      links={[
        {
          key: "help",
          title: "帮助",
          href: "#",
          blankTarget: false,
        },
        {
          key: "privacy",
          title: "隐私",
          href: "#",
          blankTarget: false,
        },
        {
          key: "clause",
          title: "条款",
          href: "#",
          blankTarget: false,
        },
      ]}
      copyright={
        <Fragment>
          Copyright &nbsp;
          <Icon type="copyright" />
          &nbsp;2019 浩鲸科技出品
        </Fragment>
      }
    />
  </Footer>
);
export default FooterView;
